	package com.coolt.client.ui;

import com.coolt.client.logic.ListarCoolts;
import com.coolt.client.ui.AppConstants;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HasHorizontalAlignment;
import com.google.gwt.user.client.ui.HasVerticalAlignment;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Hyperlink;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.VerticalPanel;

public class Coolts extends Composite {
	private static VerticalPanel verticalPanel;
	private static final AppConstants CONSTANTS = (AppConstants) GWT.create(AppConstants.class);
	public Coolts() {

		verticalPanel = new VerticalPanel();
		initWidget(verticalPanel);
		verticalPanel.setSize("211", "26");

		final HorizontalPanel horizontalPanel = new HorizontalPanel();
		verticalPanel.add(horizontalPanel);
		horizontalPanel.setSize("209", "26");
		horizontalPanel.setStyleName(CONSTANTS.horizontalPanel_styleName_1());

		final Hyperlink cooltsHyperlink = new Hyperlink("Coolts", "some history token");
		cooltsHyperlink.setStyleName("linkssecoes");
		horizontalPanel.add(cooltsHyperlink);
		horizontalPanel.setCellVerticalAlignment(cooltsHyperlink, HasVerticalAlignment.ALIGN_MIDDLE);

		final Hyperlink verTodosHyperlink = new Hyperlink("Ver Todos", "some history token");
		verTodosHyperlink.setStyleName("linkssecoes");
		horizontalPanel.add(verTodosHyperlink);
		horizontalPanel.setCellVerticalAlignment(verTodosHyperlink, HasVerticalAlignment.ALIGN_MIDDLE);
		horizontalPanel.setCellHorizontalAlignment(verTodosHyperlink, HasHorizontalAlignment.ALIGN_RIGHT);
		
		ListarCoolts cooltsList=new ListarCoolts();
		verticalPanel.add(cooltsList.getCoolts());
	}
	public static VerticalPanel getVerticalPanel() {
		return verticalPanel;
	}
}
